Skip to content

build: fetch Boost from OSS and define network test macro globally#438

Open
zjw1111 wants to merge 2 commits into
alibaba:mainfrom
zjw1111:codex/fetch-boost-from-oss
Open

build: fetch Boost from OSS and define network test macro globally#438
zjw1111 wants to merge 2 commits into
alibaba:mainfrom
zjw1111:codex/fetch-boost-from-oss

Conversation

@zjw1111

@zjw1111 zjw1111 commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

Purpose

Fetch the pinned Boost 1.66.0 source package from Paimon C++ OSS instead of storing the 85 MiB archive in Git LFS.

The dependency resolution follows the Lumina pattern: PAIMON_BOOST_URL overrides the source, a pre-downloaded package under third_party/ supports offline builds, and OSS is the default fallback. The OSS object has the same SHA256 checksum as the removed vendored archive.

The obsolete Boost entries in the repository LICENSE and NOTICE are removed because the repository no longer redistributes Boost source code.

Define PAIMON_ENABLE_NETWORK_TESTS globally in the root CMake configuration and remove the duplicate target-level definitions from the filesystem and integration test targets. The option no longer requires PAIMON_BUILD_TESTS=ON; when tests are disabled, the definition is harmless because no test targets are built.

Tests

  • cmake -S . -B /tmp/paimon-boost-config.OiysFH -DCMAKE_BUILD_TYPE=Debug -DPAIMON_BUILD_TESTS=OFF -DPAIMON_ENABLE_AVRO=OFF -DPAIMON_ENABLE_ORC=OFF -DPAIMON_ENABLE_LANCE=OFF -DPAIMON_ENABLE_JINDO=OFF -DPAIMON_ENABLE_LUMINA=OFF -DPAIMON_ENABLE_LUCENE=ON -DPAIMON_ENABLE_TANTIVY=OFF
  • cmake --build /tmp/paimon-boost-config.OiysFH --target boost_ep -j64
  • Configured with PAIMON_BUILD_TESTS=ON and PAIMON_ENABLE_NETWORK_TESTS=ON; verified the generated compile commands define PAIMON_ENABLE_NETWORK_TESTS for both filesystem and integration tests.
  • Configured with PAIMON_BUILD_TESTS=OFF and PAIMON_ENABLE_NETWORK_TESTS=ON; verified configuration succeeds with the global definition.
  • pre-commit run --files LICENSE NOTICE cmake_modules/ThirdpartyToolchain.cmake third_party/versions.txt
  • pre-commit run --files CMakeLists.txt src/paimon/CMakeLists.txt test/inte/CMakeLists.txt
  • git diff --check

API and Format

No public API, storage format, or protocol changes.

Documentation

No user-facing feature documentation is required.

Generative AI tooling

Generated-by: OpenAI Codex (GPT-5)

@zjw1111 zjw1111 changed the title build: fetch Boost from OSS build: fetch Boost from OSS and define network test macro globally Jul 21, 2026

@lxy-9602 lxy-9602 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants